import { Application } from "egg";

export default (app: Application) => {
    const { router, controller } = app;
    // const checktoken = app.middleware.checktoken();
    router.get('/api/wx/login', controller.ctrlWx.configs);

    router.get('/api/wx/sdk_config', controller.ctrlWx.sdk_config);

};
